﻿<%@ Page Language="C#" MasterPageFile="~/Pages/MasterPage.master" AutoEventWireup="true" CodeFile="Chitiet.aspx.cs" Inherits="Pages_Chitiet" Title="Chi tiết" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <style type="text/css">
        .style3
        {
            font-size:12px;
            font-family:Tahoma;
            color:Gray;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
        <div class="san_pham_menu_top">
            <p>
                CHI TIẾT SẢN PHẨM </p>
        </div>
        <div id="main_data">
    <table class="sannpham" width="100%" bgcolor="#eeeeee">
        <tr>
            <td class="style2" class="sannpham" width="50%" class="sannpham">
                <asp:Image ID="imgSp" CssClass="sannphamimge" runat="server" Width="100%" Height="222px" />
            </td>
            <td align="center" valign="top" width="50%" class="style3" >
               <p><asp:Label ID="txttensp" runat="server" ></asp:Label></p> 
                <br />
                <br />
                <br />
                <asp:Label ID="txtGia" runat="server" Text="Label" Font-Bold="True" Font-Size="14px"
                    Font-Underline="False" ForeColor="#FF3300"></asp:Label>&nbsp;&nbsp; VND
                <br />
                <br />
                <br />
                Nhập số lượng 
                : 
                <asp:TextBox ID="txtsoluong" runat="server" Width="44px"></asp:TextBox>
                <br />
                <br />
                <asp:ImageButton ID="LinkAddvaogiohang" runat="server" 
                    ImageUrl="~/Images/Image_Pages/dathang.jpg" 
                    onclick="LinkAddvaogiohang_Click" CssClass="sannpham" />
            </td>
        </tr>
        <tr>
            <td colspan="2" style="border-top: solid 1px #ffffff; font-family: 'Times New Roman', Times, serif;
                font-weight: bold; font-size: 11px; color: #FF0066">
                <br />
                Chi tiết sản phẩm 
                <asp:Label ID="txtMaNhom" runat="server" Text="Label" Visible="False"></asp:Label>
                <br />
                <br />
                Mã sản phẩm :
                <asp:Label ID="txtmasp" runat="server" Text="Label" Font-Size="12px" 
                    ForeColor="#999966"></asp:Label>
                <br />
                <br />
                Mô tả :
                <asp:Label ID="txtmota" runat="server" ForeColor="#999966" Text="Label"></asp:Label>
                <br />
                <br />
                Nhóm sản phẩm :
                <a class="nhomsp" href="TimKiem.aspx?key=<%=strNhom%>&key1=<%=strten%>">
                <asp:Label ID="txtnhomsp" runat="server" ForeColor="Red" Text="Label"></asp:Label></a>
                <br />
            </td>
        </tr>
    </table>
    </div>
    <div class="san_pham_menu_top">
            <p>
                SẢN PHẨM CÙNG LOẠI </p>
        </div>
     <div id="Div1" class="sannpham">
         <asp:DataList ID="DataList1" runat="server" CellPadding="5" Width="550px" RepeatColumns="2">
                    <ItemTemplate>              
                         <table border="0" width="100%" cellpadding="5" cellspacing="0">
                            <tr>
                                <td >
                                    &nbsp;<a href="Chitiet.aspx?mahh=<%#Eval("MaHang") %>"><asp:Image CssClass="sannpham" ID="Image1" runat="server" Height="70px" ImageUrl='<%# Eval("Images") %>'
                                        Width="70px" /></a></td>
                                <td id="spcungloai">
                                    <a href="Chitiet.aspx?mahh=<%#Eval("MaHang") %>">                                
                               <asp:Label runat="server" ID="Tensp" Text='<%#Eval("TenHang") %>'></asp:Label>
                            </a></td>
                            </tr>
                        </table>
                    </ItemTemplate>
         </asp:DataList>
     </div>
</asp:Content>
